<template>
   <view class="content">
     <view class="readText">
       <rich-text :nodes="text"></rich-text>
     </view>
   </view>
</template>

<script lang="ts">
// @ts-nocheck
import Vue from 'vue';
import {getDictAll, getDictLikeAll} from "../../api/common/dict";
   export default Vue.extend({
      data() {
         return {
           text:'',
         }
      },
      onShow() {
         this.getReadMe();
      },
      methods: {
        // 获取代注销说明
        async getReadMe() {
          const params = {
            dictCode:'read_me_text',
          }
          const data = await getDictLikeAll(params)
          this.text = data[0].dictInfoValue;
          // console.log(data, '获取首页轮播图')
        },
      }
   })
</script>

<style scoped>
   .content {
      padding: 30rpx 20rpx 20rpx 20rpx;
      /*color: #6c6c6c;*/
      font-size: 28rpx;
   }
   .readText{
     text-align: justify;
     line-height: 60rpx;
   }
</style>
